package c2.advanced.business.base;

import c2.advanced.share.DbFacade;
import org.springframework.data.mongodb.core.MongoTemplate;

public abstract class AdvancedDaoTemplate {

    protected DbFacade root;
    public AdvancedDaoTemplate(DbFacade root) {
        this.root = root;
    }

    protected MongoTemplate mongo() {
        return root.getMongoTemplate();
    }
}

